package com.ZYHsheep.entity;

import java.time.LocalDateTime;

public class Fixhoof {
    private Integer id;
    private Integer sno;
    private String technician;
    private LocalDateTime eventTime;

    public Fixhoof() {
        this.eventTime = LocalDateTime.now();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSno() {
        return sno;
    }

    public void setSno(Integer sno) {
        this.sno = sno;
    }

    public String getTechnician() {
        return technician;
    }

    public void setTechnician(String technician) {
        this.technician = technician;
    }

    public LocalDateTime getEventTime() {
        return eventTime;
    }

    public void setEventTime(LocalDateTime eventTime) {
        this.eventTime = eventTime;
    }

    @Override
    public String toString() {
        return "修蹄记录\n" +
                "羊只ID:" + sno +
                ", technician='" + technician +
                ", eventTime=" + eventTime +
                '}';
    }
}
